package com.cn.jinl.dao;

import com.cn.jinl.domain.OnDutyWeek;
import com.cn.jinl.domain.OnDutyWeekExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnDutyWeekMapper {
    int countByExample(OnDutyWeekExample example);

    int deleteByExample(OnDutyWeekExample example);

    int insert(OnDutyWeek record);

    int insertSelective(OnDutyWeek record);

    List<OnDutyWeek> selectByExample(OnDutyWeekExample example);

    List<OnDutyWeek> selectOnDutyWeeks();

    OnDutyWeek selectOnDutyWeekById(String id);

    int selectOnDutyWeekByWeek(String dutyDay);
    int selectAllOnDutyWeek();

    int updateByExampleSelective(@Param("record") OnDutyWeek record, @Param("example") OnDutyWeekExample example);

    int updateByExample(@Param("record") OnDutyWeek record, @Param("example") OnDutyWeekExample example);
}